﻿#ifndef WIDGET_REPLACE_H
#define WIDGET_REPLACE_H

#include <QDialog>
#include <QTextDocument>

namespace Ui {
class widget_replace;
}

class widget_replace : public QDialog
{
    Q_OBJECT

public:
    explicit widget_replace(QWidget *parent = 0);
    ~widget_replace();
protected:
    bool eventFilter(QObject *, QEvent *);
private slots:

    void on_pushButton_next_clicked();

    void on_pushButton_repllace_clicked();

    void on_pushButton_replace_all_clicked();

    void on_pushButton_cancel_clicked();

signals:
    void sig_findString(QString exp, QString after, QTextDocument::FindFlags option, int func);

private:
    Ui::widget_replace *ui;
};

#endif // WIDGET_REPLACE_H
